FROM acr.aishu.cn/public/nginx:1.17.2
WORKDIR /opt/web
RUN chmod 757 -R /opt/web
ADD build build
ADD package.json package.json
RUN chmod 757 -R /etc/nginx
RUN chmod 757 -R /var
RUN chmod -R 757 /var/run/
RUN mkdir -p /var/run/nginx && chmod 757 -R /var/run/nginx
RUN mkdir -p /usr/local/var/run && chmod -R 757 /usr/local/var/run
COPY nginx/web.conf /etc/nginx/conf.d/default.conf
EXPOSE 4017
